home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 34
/
Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso
/
Aminet
/
dev
/
c
/
PMM.lha
/
PMM
/
Developer
/
LibSrc
/
CNetCBase.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1999-10-22
|
315 b
|
18 lines
#include <exec/libraries.h>
#include <proto/exec.h>
struct Library *CNetCBase = NULL;
extern unsigned long _CNetCBaseVer;
void _INIT_5_CNetCBase()
{
if (!(CNetCBase = OpenLibrary("cnetclibrary.library",_CNetCBaseVer)))
exit(20);
}
void _EXIT_5_CNetCBase()
{
if (CNetCBase)
CloseLibrary(CNetCBase);
}